<!DOCTYPE HTML>
<html>
	<head> 
		<title>Pyramid - Combine Dependencies Tool</title> 
	
	    <script type='text/javascript' src='standardResources/pyramid-1.0.js' ></script>
		
		<!--path to dependency loader script 
	    <script type='text/javascript' src='dependencyLoader.js' ></script>
		-->
		<style>
			textarea
			{
				height: 200px;
				width: 600px;
			}
		</style>
	</head>
<body >
	<strong>Update this source to build files </strong><br/>
	Combined Files: <br/>
    <script type="text/javascript">
		/*
		//project specific info.  Note that excludeDependencies is for your dependency groups that include things
		//like jQuery, knockout, etc
		var dependencyGroupToCombine = 'main';
		var excludeDependencies = ['standard'];
		*/
		
        var aText = Pyramid.joinFiles(
	        {
	            name: dependencyGroupToCombine,
	            excludeDependencies: excludeDependencies
	        }
        );

        //create display
        for (var key in aText) {
            document.body.innerHTML += '<br/> .' + key + '<br/><textarea width="90%" height="20%">' + aText[key] + '</textarea>'
        }

		//this is tricky; you only need to include the very last dependency from your excludeDependencies
		var otherIncludes = Pyramid.getIncludeString('standard', true);
		//for (var i=0;i< excludeDependencies.length;i++){
        //	otherIncludes += Pryamid.getIncludeString(excludeDependencies[i], true);
        //}
		document.body.innerHTML += '<br/> includes <br/><textarea width="90%" height="20%">' + otherIncludes + '</textarea>'
		
    </script>
</body>
</html>




